<extend name="Base/base" />
<block name='head'>
    <meta charset="utf-8">
    <!--<link href="/Public/Index/css/workflow.css" rel="stylesheet" />--> 

    <link rel="stylesheet" href="/Public/Index/css/ydui.css?rev=@@hash"/>
    <link rel="stylesheet" href="/Public/Index/css/demo.css"/>
    <script src="/Public/Index/js/ydui.flexible.js"></script>
</block>
<block name="content" > 
    <section class="g-flexview">
        <div class="g-scrollview">
            <foreach name="sorts" item="sort">
                <div class="m-grids-4">
                    <h3><span class="tit1">&#xe66b;</span><span class="tit2">{$sort.sortName}</span></h3>
                    <div class="grids-lists">
                        <foreach name="sort.lists" item="child" key="key">
                            <a class="grids-item" href="{:U('form',array('id'=>$child['form_id']))}">
                                <div class="grids-icon">
                                    <if condition="$child['icon'] neq null">
                                    <i class="iconfont icon{$key+1}" style="color:{$child.color}">&#x{$child.icon};</i>
                                    </if>
                                </div>
                                <div class="grids-txt">{$child.flow_name}</div>
                            </a>
                        </foreach>
                    </div>
                </div>
            </foreach>
        </div>
    </section>
</block>
<block name="script">

</block>
